package online.heycm.platform.common.tools.cipher;

import cn.hutool.core.codec.Base64;

/**
 * @author heycm
 * @since 2023/11/19 19:13
 */
public class Base64Encrypt {

    private Base64Encrypt() {}

    public static String encrypt(String content) {
        return Base64.encode(content);
    }

    public static String decrypt(String content) {
        return Base64.decodeStr(content);
    }
}
